<!-- INCLUDE overall_header.html -->

<a name="maincontent"></a>

	<h1>{L_ACP_ALLYTOOL_SETTINGS}</h1>
	<p>{L_ACP_ALLYTOOL_SETTINGS_EXPLAIN}</p>

<!-- IF S_SETTING -->
<!-- IF S_DISPLAY_GENERAL -->
	<fieldset class="tabulated">
			<legend>{GEN_TITLE}</legend>
					<table cellspacing="1">
			<thead>
				<tr>
					<th colspan="2">{GEN_TITLE}</th>
				</tr>
			</thead>
			<tbody>
				<tr class="row1">
					<td nowrap="nowrap"><br />{GEN_MESSAGE}<br /></td>
				</tr>
			</tbody>	
		</table>
	</fieldset>
	<br />
	<br />

<!-- ENDIF -->

	<form id="acp_formel" method="post" action="{U_ACTION}">

	<fieldset class="tabulated">
	<legend>{L_ACP_ALLYTOOL_SETTINGS}</legend>

		<table cellspacing="1">
			<thead>
				<tr>
					<th colspan="2">{L_ACP_ALLYTOOL_SETTINGS_CONFIG}</th>
				</tr>
			</thead>
			<tbody>
				<tr class="row1">
					<td nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_SETTINGS_TOOL_ON}:</strong><br />{L_ACP_ALLYTOOL_SETTINGS_TOOL_ON_EXPLAIN}</td>
					<td><input type="radio" class="radio" name="tool_on" value="1" {S_TOOL_ON_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" class="radio" name="tool_on" value="0" {S_TOOL_ON_NO} /> {L_NO}</td>
				</tr>
				<tr class="row2">
					<td nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_SETTINGS_ACCESS_GROUP}:</strong><br />{L_ACP_ALLYTOOL_SETTINGS_ACCESS_GROUP_EXPLAIN}</td>
					<td>{D_ACCESS_GROUP}</td>
				</tr>
				<tr class="row1">
					<td nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_SETTINGS_SERVER}:</strong><br />{L_ACP_ALLYTOOL_SETTINGS_SERVER_EXPLAIN}</td>
					<td>{D_SERVER}</td>
				</tr>
				<tr class="row2">
					<td nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_SETTINGS_UNI}:</strong><br />{L_ACP_ALLYTOOL_SETTINGS_UNI_EXPLAIN}</td>
					<td><input type="text" class="post" maxsize="64" size="30" name="uni" value="{ACP_ALLYTOOL_SETTING_UNI}" /></td>
				</tr>
			</tbody>	
		</table>
		<p class="submit-buttons">
			<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
			<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
		</p>
	</fieldset>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->	

<!-- IF S_ALLY -->

	<fieldset class="tabulated">
	<legend>{L_ACP_ALLYTOOL_ALLY}</legend>

	<table cellspacing="1">
	    <thead>
			<tr>
				<th colspan="{COLSPAN}" >{L_ACP_ALLYTOOL_ALLY}</th>
			</tr>
		</thead>
		<tbody>
			<tr class="row3">
				<td width="25%" valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYNAME}</strong></td>
				<td width="25%" valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYTAG}</strong></td>
				<td width="10%" valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_ALLY_COLOR}</strong></td>
				<td valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_ALLY_PLANET}</strong></td>
				<td valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_ALLY_RANG}</strong></td>
				<td valign="middle" colspan="2">&nbsp;</td>
			</tr>
			<!-- BEGIN allyrow -->
			<form method="POST" enctype="multipart/form-data">
			<!-- IF allyrow.S_ROW_COUNT is even -->
			<tr class="row1">
			<!-- ELSE -->
			<tr class="row2">
			<!-- ENDIF -->
				<td width="25%" valign="middle" nowrap="nowrap"><span class="genmed">{allyrow.ALLYNAME}</span></td>
				<td width="25%" valign="middle" nowrap="nowrap"><span class="genmed">{allyrow.ALLYTAG}</span></td>
				<td width="10%" valign="middle" bgcolor="#{allyrow.ALLYCOLOR}"nowrap="nowrap"><span class="genmed">&nbsp;</span></td>
				<td valign="middle" nowrap="nowrap"><span class="genmed">{allyrow.ALLYPLANET}</span></td>
				<td valign="middle" nowrap="nowrap"><span class="genmed">{allyrow.ALLYRANG}</span></td>
				<td valign="middle" nowrap="nowrap"><span class="genmed"><input type="hidden" name="ally_id" value="{allyrow.ALLYID}" /><input class="button2" type="submit" name="edit" value="{L_ACP_ALLYTOOL_ALLY_EDIT_ALLY}" /></span></td>
				<td valign="middle" nowrap="nowrap"><span class="genmed"><input type="hidden" name="ally_id" value="{allyrow.ALLYID}" /><input class="button2" type="submit" name="del"  value="{L_ACP_ALLYTOOL_ALLY_DELETE_ALLY}" />{S_FORM_TOKEN}</span></td>
			</tr>
			</form>
			<!-- END allyrow -->
		</tbody>
	</table>
	
	<br />
	
	<p class="submit-buttons">
		<form method="POST" enctype="multipart/form-data">
			<input class="button1" type="submit" name="addally" value="{L_ACP_ALLYTOOL_ALLY_ADD_ALLY}" />
			<input type="hidden" name="ally_id" value="" />
		</form>
	</p>
	</fieldset>
<!-- ENDIF -->

<!-- IF S_ADDALLY -->
	<fieldset class="tabulated">
	<legend>{L_ACP_ALLYTOOL_SETTINGS}</legend>
	
	<form id="acp_formel" method="post" action="{U_ACTION}">
	
	<table cellspacing="1">
	    <thead>
			<tr>
				<th colspan="2" >{L_ACP_ALLYTOOL_ALLY}</th>
			</tr>
		</thead>
		<tbody>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYNAME}:</strong></span>&nbsp;</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allyname" value="{PREDEFINED_NAME}" /></td>
			</tr>
			<tr class="row2">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYTAG}:</strong></span>&nbsp;</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allytag" value="{PREDEFINED_TAG}" /></td>
			</tr>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_COLOR}:</strong></span>&nbsp;</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="6" size="6" name="allycolor" value="{PREDEFINED_COLOR}" />&nbsp;&nbsp;<span>[ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false">{L_COLOUR_SWATCH}</a> ]</span></td>
			</tr>
			<tr class="row2">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_PLANET}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allyplanet" value="{PREDEFINED_PLANET}" /></td>
			</tr>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_RANG}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allyrang" value="{PREDEFINED_RANG}" /></td>
			</tr>
			<tr class="row2">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYNAME}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allypos" value="{PREDEFINED_POS}" /></td>
			</tr>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYNAME}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allysort" value="{PREDEFINED_SORT}" /></td>
			</tr>
			</tbody>
	</table>
	
	</fieldset>
	    
	<p class="submit-buttons">
	    <form method="POST" enctype="multipart/form-data">
			<input class="button1" type="submit" name="add" value="{L_ACP_ALLYTOOL_ALLY_ADD_ALLY}" />
			<input type="hidden" name="ally_id" value="{ALLYID}" />
			{S_FORM_TOKEN}
	    </form>
	</p>
	</form>
<!-- ENDIF -->

<!-- IF S_USER -->

	<fieldset class="tabulated">
	<legend>{L_ACP_ALLYTOOL_USER}</legend>

	<table cellspacing="1">
	    <thead>
			<tr>
				<th colspan="{COLSPAN}" >{L_ACP_ALLYTOOL_USER}</th>
			</tr>
		</thead>
		<tbody>
			<tr class="row3">
				<td width="20%" valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_USER_NAME}</strong></td>
				<td width="20%" valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_USER_INGAME}</strong></td>
				<td width="20%" valign="middle" nowrap="nowrap"><strong>{L_ACP_ALLYTOOL_USER_LEVEL}</strong></td>
				<td valign="middle" nowrap="nowrap"><strong>&nbsp;</strong></td>
			</tr>
			<!-- BEGIN userrow -->
			<form method="POST" enctype="multipart/form-data">
			<!-- IF userrow.S_ROW_COUNT is even -->
			<tr class="row1">
			<!-- ELSE -->
			<tr class="row2">
			<!-- ENDIF -->
				<td width="20%" valign="middle" nowrap="nowrap"><span class="genmed">{userrow.USERNAME}</span></td>
				<td width="20%" valign="middle" nowrap="nowrap"><span class="genmed">{userrow.USERINGAME}</span></td>
				<td width="20%" valign="middle" nowrap="nowrap"><input type="radio" class="radio" name="level_1" value="1" {S_TOOL_ON_YES} /> 1&nbsp;&nbsp;<input type="radio" class="radio" name="level_2" value="2" {S_TOOL_ON_NO} /> 2&nbsp;&nbsp;<input type="radio" class="radio" name="level_3" value="3" {S_TOOL_ON_NO} /> 3</td>
				<td valign="middle" nowrap="nowrap"><span class="genmed"><input type="hidden" name="user_id" value="{userrow.USERID}" /><input class="button2" type="submit" name="edit" value="{L_ACP_ALLYTOOL_USER_EDIT_USER}" /></span></td>
			</tr>
			</form>
			<!-- END userrow -->
		</tbody>
	</table>
	</fieldset>
<!-- ENDIF -->

<!-- IF S_ADDUSER -->
	<fieldset class="tabulated">
	<legend>{L_ACP_ALLYTOOL_SETTINGS}</legend>
	
	<form id="acp_formel" method="post" action="{U_ACTION}">
	
	<table cellspacing="1">
	    <thead>
			<tr>
				<th colspan="2" >{L_ACP_ALLYTOOL_USER}</th>
			</tr>
		</thead>
		<tbody>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYNAME}:</strong></span>&nbsp;</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allyname" value="{PREDEFINED_NAME}" /></td>
			</tr>
			<tr class="row2">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYTAG}:</strong></span>&nbsp;</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allytag" value="{PREDEFINED_TAG}" /></td>
			</tr>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_COLOR}:</strong></span>&nbsp;</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="6" size="6" name="allycolor" value="{PREDEFINED_COLOR}" />&nbsp;&nbsp;<span>[ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false">{L_COLOUR_SWATCH}</a> ]</span></td>
			</tr>
			<tr class="row2">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_PLANET}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allyplanet" value="{PREDEFINED_PLANET}" /></td>
			</tr>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_RANG}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allyrang" value="{PREDEFINED_RANG}" /></td>
			</tr>
			<tr class="row2">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYNAME}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allypos" value="{PREDEFINED_POS}" /></td>
			</tr>
			<tr class="row1">
				<td align="right" width="50%" valign="middle"  nowrap="nowrap"><span class="genmed"><strong>{L_ACP_ALLYTOOL_ALLY_ALLYNAME}:</strong></span><br />{L_ACP_ALLYTOOL_ALLY_ADD_EXPLAIN}</td>
				<td align="left" width="50%" valign="middle"  nowrap="nowrap">&nbsp;<input type="text" class="post" maxsize="64" size="30" name="allysort" value="{PREDEFINED_SORT}" /></td>
			</tr>
			</tbody>
	</table>
	
	</fieldset>
	    
	<p class="submit-buttons">
	    <form method="POST" enctype="multipart/form-data">
			<input class="button1" type="submit" name="add" value="{L_ACP_ALLYTOOL_ALLY_ADD_ALLY}" />
			<input type="hidden" name="ally_id" value="{ALLYID}" />
			{S_FORM_TOKEN}
	    </form>
	</p>
	</form>
<!-- ENDIF -->
<br />
<br />
<br />
<div id="page-footer">

	<div class="copyright">
			<a href="http://board.allytools.de">{ALLYTOOL_MOD_RELEASE}</a>
	</div>
</div>

	
<!-- INCLUDE overall_footer.html -->